<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/26
  Time: 9:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div class="public-content" style="overflow: hidden" id="apply-PersonMess">
    <table class="public-content-tab">
        <!--个人资料-->
        <thead>
        <tr>
            <td colspan="12">个人资料</td>
        </tr>
        </thead>
        <tbody>
        <!--第一行-->
        <!-- ngRepeat: (key,item) in data._borrowers track by $index --><tr ng-repeat="(key,item) in data._borrowers track by $index" class="">
            <td class=""><span>*</span>借款人1</td>
            <td colspan="7" style="text-align: left">
						<span class="pad">
							<input id="realname" ng-class="{'error':_err.borrTis[$index].realName}" ng-focus="remFocus()" type="text" autocomplete="off" placeholder="请输入借款人1" ng-model="item.realName" class="ng-pristine ng-untouched ng-valid ng-empty">
						</span>
                <span class="pad">
							<input id="idCard" placeholder="输入身份证号码" ng-class="{'error':_err.borrTis[$index].idCard}" ng-focus="remFocus()" type="text" autocomplete="off" style="width:220px" ng-model="item.idCard" ng-blur="getIdCard(key)" class="ng-pristine ng-untouched ng-valid ng-empty">
						</span>
                <label class="labelinput pad" ng-class="{'error':_err.borrTis[$index].birthDate}">
                    <input id="birthDate" placeholder="请选择生日" type="text" autocomplete="off"  class="datepicker bothDate1 ng-empty">
                    <span>
		 						<i class="iconfont icon-riqi"></i>
		 					</span>
                </label>
                <span class="pad">
							<input id="cellphone" onkeyup="value=value.replace(/[^\d]/g,'')" ng-class="{'error':_err.borrTis[$index].cellphone}" ng-focus="remFocus()" type="text" autocomplete="off" ng-blur="getPhone(key)" placeholder="请输入手机号码" ng-model="item.cellphone" class="ng-pristine ng-untouched ng-valid ng-empty">
						</span>
                <span class="pad">
							<label class="sex-radio">
								<input type="radio" name="PersonMessSex_1" value="1" ng-checked="item.sex == 1" ng-model="item.sex" class="ng-pristine ng-untouched ng-valid ng-empty">男</label>
							<label class="sex-radio">
								<input type="radio" name="PersonMessSex_1" value="2" ng-checked="item.sex == 2" ng-model="item.sex" class="ng-pristine ng-untouched ng-valid ng-empty">女</label>
						</span>
                <!-- ngIf: key!==0 -->
            </td>
        </tr><!-- end ngRepeat: (key,item) in data._borrowers track by $index -->
        <!--第二行-->
        <tr>
            <td>收款人</td>
            <td>
                <input id="payee" ng-class="{'error':err.payee}" ng-focus="remFocus()" type="text" autocomplete="off" placeholder="收款人" ng-model="data.perInfo.payee" class="ng-pristine ng-untouched ng-valid ng-empty">
            </td>
            <td>收款帐号</td>
            <td colspan="5" class="backBank">
                <input type="text" autocomplete="off" id="account" ng-focus="remFocus()" onkeyup="value=value.replace(/[^\d]/g,'')" ng-class="{'error':err.account}" placeholder="收款帐号" ng-model="data.perInfo.account" class="ng-pristine ng-untouched ng-valid ng-empty">
                <input type="text" autocomplete="off" id="bank" ng-focus="remFocus()" ng-class="{'error':err.bank}" placeholder="收款银行" ng-model="data.perInfo.bank" class="ng-pristine ng-untouched ng-valid ng-empty">
            </td>
        </tr>
        <!--第三行-->
        <tr>
            <td><span>*</span>户口所在地</td>
            <td colspan="3" class="autocom">
                <%--<div class="span" style="margin-top: 5px;">
                    <span class="huArea autocomplete" style="width: 158px !important;margin-right: 10px;"></span>
                    <input
                            style="width: 240px !important;float: left;"
                            ng-class="{'error':err.residence}"
                            ng-focus="remFocus()"
                            type="text" autocomplete="off"
                            placeholder="请输入详细地址"
                            ng-model="data.perInfo.residence"/></div>--%>
                    <div class="se-re tdSelect">
                        <select id="province_list" ng-options="item.ID as item.name for item in selejia1" ng-model="data.addrProvince " ng-change="selectjia('a')" class="ng-pristine ng-untouched ng-valid ng-empty selectjia_a">
                            <option value="" selected="selected">居住区域</option>
                        </select>
                        <script type="text/x-handlebars-template" id="province_list_tpl">
                            {{#each .}}
                            <option value="{{ID}}">{{name}}</option>
                            {{/each}}
                        </script>
                        <span class="se-po se-po-inputTem"></span>
                    </div>
                    <div class="se-re tdSelect">
                        <select id="city_list" ng-options="item.ID as item.name for item in selejia1" ng-model="data.addrProvince " ng-change="selectjia('a')" class="ng-pristine ng-untouched ng-valid ng-empty selectjia_a">
                            <option value="" selected="selected">选择市</option>
                        </select>
                        <script type="text/x-handlebars-template" id="city_list_tpl">
                            <option value="" selected="selected">选择市</option>
                            {{#each .}}
                            <option value="{{ID}}">{{name}}</option>
                            {{/each}}
                        </script>
                        <span class="se-po se-po-inputTem"></span>
                    </div>
                    <div class="se-re tdSelect">
                        <select id="area_list" ng-options="item.ID as item.name for item in selejia1" ng-model="data.addrProvince " ng-change="selectjia('a')" class="ng-pristine ng-untouched ng-valid ng-empty selectjia_a">
                            <option value="" selected="selected">选择区县</option>
                        </select>
                        <script type="text/x-handlebars-template" id="area_list_tpl">
                            <option value="" selected="selected">选择区县</option>
                            {{#each .}}
                            <option value="{{ID}}">{{name}}</option>
                            {{/each}}
                        </script>
                        <span class="se-po se-po-inputTem"></span>
                    </div>
                    <input id="residence"
                           style="width: 240px !important;"
                           ng-class="{'error':err.residence}"
                           ng-focus="remFocus()"
                           type="text" autocomplete="off"
                           placeholder="请输入详细地址"
                           ng-model="data.perInfo.residence"/></div>
            </td>
            <td><span>*</span>居住地址</td>
            <td colspan="3" class="autocom">
                <%--<div class="span" style="margin-top: 5px;">
                    <span class="homeArea autocomplete" style="width: 158px !important;margin-right: 10px;"></span>
                    <input
                            style="width: 217px !important;float: left;"
                            ng-class="{'error':err.address}"
                            ng-focus="remFocus()"
                            type="text" autocomplete="off"
                            placeholder="请输入详细地址"
                            ng-model="data.perInfo.address"/>
                </div>--%>
                    <div class="se-re tdSelect">
                        <select id="rprovince_list" ng-options="item.ID as item.name for item in selejia1" ng-model="data.addrProvince " ng-change="selectjia('a')" class="ng-pristine ng-untouched ng-valid ng-empty selectjia_a">
                            <option value="" selected="selected">居住区域</option>
                        </select>
                        <script type="text/x-handlebars-template" id="rprovince_list_tpl">
                            {{#each .}}
                            <option value="{{ID}}">{{name}}</option>
                            {{/each}}
                        </script>
                        <span class="se-po se-po-inputTem"></span>
                    </div>
                    <div class="se-re tdSelect">
                        <select id="rcity_list" ng-options="item.ID as item.name for item in selejia1" ng-model="data.addrProvince " ng-change="selectjia('a')" class="ng-pristine ng-untouched ng-valid ng-empty selectjia_a">
                            <option value="" selected="selected">选择市</option>
                        </select>
                        <script type="text/x-handlebars-template" id="rcity_list_tpl">
                            <option value="" selected="selected">选择市</option>
                            {{#each .}}
                            <option value="{{ID}}">{{name}}</option>
                            {{/each}}
                        </script>
                        <span class="se-po se-po-inputTem"></span>
                    </div>
                    <div class="se-re tdSelect">
                        <select id="rarea_list" ng-options="item.ID as item.name for item in selejia1" ng-model="data.addrProvince " ng-change="selectjia('a')" class="ng-pristine ng-untouched ng-valid ng-empty selectjia_a">
                            <option value="" selected="selected">选择区县</option>
                        </select>
                        <script type="text/x-handlebars-template" id="rarea_list_tpl">
                            <option value="" selected="selected">选择区县</option>
                            {{#each .}}
                            <option value="{{ID}}">{{name}}</option>
                            {{/each}}
                        </script>
                        <span class="se-po se-po-inputTem"></span>
                    </div>
                    <input id="address"
                           style="width: 240px !important;"
                           ng-class="{'error':err.residence}"
                           ng-focus="remFocus()"
                           type="text" autocomplete="off"
                           placeholder="请输入详细地址"
                           ng-model="data.perInfo.residence"/></div>
            </td>
        </tr>
        <!--第五行-->
        <tr>
            <td>住宅类型</td>
            <td colspan="3" class="PersonCol3" id="house">
                <input type="radio" value="1" ng-checked="data.perInfo.house==1" name="houseType" ng-model="data.perInfo.house" class="ng-pristine ng-untouched ng-valid ng-empty">自建
                <input type="radio" value="2" ng-checked="data.perInfo.house==2" name="houseType" ng-model="data.perInfo.house" class="ng-pristine ng-untouched ng-valid ng-empty">自购
                <input type="radio" value="3" ng-checked="data.perInfo.house==3" name="houseType" ng-model="data.perInfo.house" class="ng-pristine ng-untouched ng-valid ng-empty">单位购房
                <input type="radio" value="4" ng-checked="data.perInfo.house==4" name="houseType" ng-model="data.perInfo.house" class="ng-pristine ng-untouched ng-valid ng-empty">租房
                (月租
                <input type="text" autocomplete="off" id="monthRent" ng-model="data.perInfo.monthRent" class="ng-pristine ng-untouched ng-valid ng-empty">
                )
            </td>
            <td>起始居住时间</td>
            <td>
                <label class="bord-sol-DDD">
                    <input id="beginTime" class="datepicker beginTime ng-pristine ng-untouched ng-valid ng-empty" placeholder="请选择" type="text" autocomplete="off" ng-model="data.perInfo.beginTime">
                    <span>
		 						<i class="iconfont icon-riqi"></i>
		 					</span>
                </label>
            </td>
            <td>来本地时间</td>
            <td>
                <label class="bord-sol-DDD">
                    <input id="localTime" ng-model="data.perInfo.localTime" class="datepicker localTime ng-pristine ng-untouched ng-valid ng-empty" placeholder="请选择" type="text" autocomplete="off">
                    <span><i class="iconfont icon-riqi"></i></span>
                </label>
            </td>
        </tr>
        <!--第六行-->
        <tr>
            <td>住宅电话</td>
            <td>
                <input id="homephone" ng-class="{'error':err.homephone}" ng-focus="remFocus()" type="text" autocomplete="off" onkeyup="value=value.replace(/[^\d]|[a-f]/g,'')" placeholder="住宅电话" ng-model="data.perInfo.homephone" class="ng-pristine ng-untouched ng-valid ng-empty">
            </td>
            <td>教育程度</td>
            <td class="sanji">
                <div class="se-re">
                    <select id="education_list" ng-focus="remFocus()" ng-model="data.perInfo.education" class="ng-pristine ng-untouched ng-valid ng-empty">
                        <option value="" selected="selected">请选择</option>
                        <script type="text/x-handlebars-template" id="education_list_tpl">
                            {{#each .}}
                            <option value="{{id}}">{{education}}</option>
                            {{/each}}
                        </script>
                    </select>
                    <!-- <select
                            ng-focus="remFocus()"
                            ng-options="item.id as item.name for item in education"
                            ng-model="data.perInfo.education">
                        <option value=" ">请选择</option>
                    </select> -->
                    <span class="se-po se-po-inputTem"></span>
                </div>
            </td>
            <td>婚姻状况</td>
            <td class="sanji">
                 <div class="se-re">
                     <select id="marry_list" ng-focus="remFocus()" ng-model="data.perInfo.marry" class="ng-pristine ng-untouched ng-valid ng-empty">
                         <option value="" selected="selected">请选择</option>
                         <script type="text/x-handlebars-template" id="marry_list_tpl">
                             {{#each .}}
                             <option value="{{id}}">{{marry}}</option>
                             {{/each}}
                         </script>
                     </select>
                     <span class="se-po se-po-inputTem"></span>
                 </div>
             </td>
            <td>子女数量</td>
            <td>
                <input ng-focus="remFocus()" id="child" type="text" autocomplete="off" placeholder="子女数量" ng-model="data.perInfo.child" class="ng-pristine ng-untouched ng-valid ng-empty">
            </td>
        </tr>
        </tbody>
    </table>
    <div id="PersonMess_add_form" style="color: white; width: 103px; height: 40px; background-color: #d56360; border-radius: 3px; text-align: center; line-height: 40px; margin-top: 25px; float: right; cursor: pointer">添加表单

    </div>
</div>



